<!DOCTYPE html>
<html>
<head>
	<title></title>
</head>
<body>

</body>
<script type="text/javascript">
	var a = "abc;def;hij;'';sf'";
a = a.replace(/'/g,'"');
alert(a);
</script>
</html>